/*
 * @Author: your name
 * @Date: 2021-01-12 15:32:08
 * @LastEditTime: 2021-01-14 15:38:09
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \carlist\src\App.js
 */
import React, { Component } from 'react';
import {BrowserRouter} from "react-router-dom"
import {Provider} from "react-redux"
import store from "./store/index"
import RouterView from "./router/RouterView"
import RouterConfig  from "./router/router-config"
function App(){
   return (
     <Provider store={store}>
       <BrowserRouter>
          <div className="App">
             <RouterView routes={RouterConfig}></RouterView>
          </div>
       </BrowserRouter>
     </Provider>
   )
}

export default App